<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'comment-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'com_aid'); ?>
		<?php echo $form->textField($model,'com_aid'); ?>
		<?php echo $form->error($model,'com_aid'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'com_rid'); ?>
		<?php echo $form->textField($model,'com_rid'); ?>
		<?php echo $form->error($model,'com_rid'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'com_auid'); ?>
		<?php echo $form->textField($model,'com_auid'); ?>
		<?php echo $form->error($model,'com_auid'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'com_pid'); ?>
		<?php echo $form->textField($model,'com_pid'); ?>
		<?php echo $form->error($model,'com_pid'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'com_gid'); ?>
		<?php echo $form->textField($model,'com_gid'); ?>
		<?php echo $form->error($model,'com_gid'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'com_vid'); ?>
		<?php echo $form->textField($model,'com_vid'); ?>
		<?php echo $form->error($model,'com_vid'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'com_fid'); ?>
		<?php echo $form->textField($model,'com_fid'); ?>
		<?php echo $form->error($model,'com_fid'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'com_status'); ?>
		<?php echo $form->textField($model,'com_status'); ?>
		<?php echo $form->error($model,'com_status'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'com_author'); ?>
		<?php echo $form->textField($model,'com_author',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'com_author'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'com_email'); ?>
		<?php echo $form->textField($model,'com_email',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'com_email'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'com_website'); ?>
		<?php echo $form->textField($model,'com_website',array('size'=>50,'maxlength'=>50)); ?>
		<?php echo $form->error($model,'com_website'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'com_ip'); ?>
		<?php echo $form->textField($model,'com_ip'); ?>
		<?php echo $form->error($model,'com_ip'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'com_contents'); ?>
		<?php echo $form->textArea($model,'com_contents',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'com_contents'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'com_create'); ?>
		<?php echo $form->textField($model,'com_create'); ?>
		<?php echo $form->error($model,'com_create'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->